import Vue from 'vue';
import App from './App';
import { url } from '@/utils/url.js';

Vue.config.productionTip = false;

// [必选插件]  Vue-router
import router from '@/router/index';
Vue.prototype.$g2Router = router;

// [必选插件]  Vuex store
import store from '@/store/index';
Vue.prototype.$store = store;

// [必选插件]  Vuex store
Vue.prototype.$url = url;

// [必选插件] 自定义插件
import plugin from './plugins/index.js';
Vue.use(plugin);

App.mpType = 'app';

const app = new Vue({
	...App,
}).$mount();
